/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 29489
 * Date: 2023-03-15
 * Time: 22:30
 */
public class Student {
    public static int maleCount = 0;
    public static int femaleCount = 0;
    public Student(){}
    public Student(String name, int sex, int age){
        _name = name;
        _sex = sex;
        _age = age;
        if(sex == 0)
            femaleCount++;
        else
            maleCount++;
    }
    public static int getMaleCount(){
        return maleCount;
    }
    public static int getFemaleCount(){
        return femaleCount;
    }

    private String _name;
    private int _sex;
    private int _age;
}
